package com.kaluli.project.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Service;

import com.kaluli.project.domain.repository.KllMainOrderDetailRepository;
import com.kaluli.project.domain.repository.KllMainOrderRepository;
import com.kaluli.project.domain.repository.KllMqRepository;
import com.kaluli.project.domain.repository.KllOrderSynApiRepository;

@Service
@Configuration
public class TradeContext {
	
	private String msgChannel;
	
	@Autowired
	private KllMainOrderService kllMainOrderService;
	
	public String getMsgChannel() {
		return msgChannel;
	}

	public void setMsgChannel(String msgChannel) {
		this.msgChannel = msgChannel;
	}

	public KllMainOrderService getKllMainOrderService() {
		return kllMainOrderService;
	}

	public void setKllMainOrderService(KllMainOrderService kllMainOrderService) {
		this.kllMainOrderService = kllMainOrderService;
	}

	public KllMainOrderRepository getKllMainOrderRepository() {
		return kllMainOrderRepository;
	}

	public void setKllMainOrderRepository(KllMainOrderRepository kllMainOrderRepository) {
		this.kllMainOrderRepository = kllMainOrderRepository;
	}

	@Autowired
	private KllMainOrderRepository kllMainOrderRepository;
	
	@Autowired
	private KllOrderSynApiRepository kllOrderSynApiRepository;
	
	@Autowired
	private KllOrderSynApiService kllOrderSynApiService;
	
	@Autowired
	private KllMqRepository kllMqRepository;
	
	@Autowired
	private KllMainOrderDetailRepository kllMainOrderDetailRepository;
	
	@Autowired
	private KllMainOrderDetailService kllMainOrderDetailService;
	
	@Autowired
	private KllMqService kllMqService;
	
	public KllMqService getKllMqService() {
		return kllMqService;
	}

	public void setKllMqService(KllMqService kllMqService) {
		this.kllMqService = kllMqService;
	}

	public KllMainOrderDetailService getKllMainOrderDetailService() {
		return kllMainOrderDetailService;
	}

	public void setKllMainOrderDetailService(KllMainOrderDetailService kllMainOrderDetailService) {
		this.kllMainOrderDetailService = kllMainOrderDetailService;
	}

	public KllMainOrderDetailRepository getKllMainOrderDetailRepository() {
		return kllMainOrderDetailRepository;
	}

	public void setKllMainOrderDetailRepository(KllMainOrderDetailRepository kllMainOrderDetailRepository) {
		this.kllMainOrderDetailRepository = kllMainOrderDetailRepository;
	}

	public KllMqRepository getKllMqRepository() {
		return kllMqRepository;
	}

	public void setKllMqRepository(KllMqRepository kllMqRepository) {
		this.kllMqRepository = kllMqRepository;
	}

	public KllOrderSynApiService getKllOrderSynApiService() {
		return kllOrderSynApiService;
	}

	public void setKllOrderSynApiService(KllOrderSynApiService kllOrderSynApiService) {
		this.kllOrderSynApiService = kllOrderSynApiService;
	}

	public KllOrderSynApiRepository getKllOrderSynApiRepository() {
		return kllOrderSynApiRepository;
	}

	public void setKllOrderSynApiRepository(KllOrderSynApiRepository kllOrderSynApiRepository) {
		this.kllOrderSynApiRepository = kllOrderSynApiRepository;
	}

	public TradeContext(String msgChannel){
    	this.msgChannel=msgChannel;
    }
	
	public TradeContext(){
		
	}

}
